#pragma once

#include <string>

namespace FA_TL {

/**
 * @brief 模板版本信息类
 */
class TemplateVersionInfo {
   public:
    // 数据库表名
    static constexpr const char* tableName = "tl_version_info";

    // 数据库字段
    int64_t id = 0;
    int version = 0;
    std::string guid;
    std::string versionStr;
    int64_t templateDataId = 0;
    int type = 0;
    bool isDefault = false;
    int nodeStatus = 0;
    int checkStatus = 0;
    int instanceTimes = 0;
    std::string extendParam;
    bool deleteFlag = false;

   public:
    TemplateVersionInfo() = default;
    ~TemplateVersionInfo() = default;
};

}  // namespace FA_TL
